<template>
  <div class="edit">
    <create-or-edit
    :isEdit="true"
    :advId='id'
    ></create-or-edit>
  </div>
</template>

<script>
import CreateOrEdit from './components/CreateOrEdit.vue'

export default {
  props: {
    id: {
      type: [Number, String],
      require: true
    }
  },
  components: {
    CreateOrEdit
  },
  created () {
    console.log(this.id)
  }
}
</script>

<style>

</style>
